package com.task.mall.service;

import com.task.mall.bean.*;

import java.util.List;
import java.util.Map;

public interface Orderservice {
    Map<String, Object> ordersByPage(OrderParam orderParam);

    int deleteOrder(String id);

    OrderDetails order(String id);

    int changeOrder(Order order);

    List<OrderByState> getOrderByState(String token, String state);

    int AddOrder(AddOrder addOrder);

    int userDeleteOrder(String id);

    int confirmReceive(String id);

    int pay(String id);

    int sendComment(Comment comment);

    int settleAccounts(Cart cart);
}
